const path = require('path');

module.exports = {
  style: {
    postcss: {
      mode: 'file', // 加载 postcss.config.js
    },
  },
  webpack: {
    configure: (webpackConfig) => {
      webpackConfig.devtool = false; // 禁用 Source Map
      return webpackConfig;
    },
    alias: {
      '@': path.resolve(__dirname, 'src'),
      '@views': path.resolve(__dirname, 'src/views'),
    },
  }
};
